package com.hairline.controller;

import org.springframework.web.bind.annotation.RestController;

@RestController
public class DashboardController {

/*    @RequestMapping("admin/dashboard")
    public BaseRespVo dashboard(String token){
        RespVo RespVo = new RespVo();
        HashMap<Object, Object> map = new HashMap<>();
        map.put("goodsTotal",goodsService.count());
        map.put("orderTotal",orderService.count());
        map.put("productTotal",productService.count());
        map.put("userTotal",userService.count());
        RespVo.setErrno(0);
        RespVo.setData(map);
        RespVo.setErrmsg("成功");
        return RespVo;

    }*/

}
